
package com.ami.kvm.jviewer.videorecord;

import com.ami.kvm.jviewer.JViewer;
import java.net.HttpURLConnection;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLSession;

public class URLHandler {
	protected String sesCookie = null;

	int secureConnect;

	protected HttpURLConnection conn;

	protected String httpReq = "";

	public URLHandler() {
		if ((JViewer.isplayerapp()) || (JViewer.isdownloadapp())) {
			HostnameVerifier local1 = new HostnameVerifier() {
				public boolean verify(String paramAnonymousString, SSLSession paramAnonymousSSLSession) {
					return true;
				}

			};
			HttpsURLConnection.setDefaultHostnameVerifier(local1);
		}
	}
}
